using System;
using System.Collections.Generic;
using System.Text;
using DAL;
using Models;

namespace BLL
{

    public static partial class LeftTypeManager
    {
        public static bool AddLeftType(LeftType leftType)
        {
            return LeftTypeService.AddLeftType(leftType);
        }

        public static bool DeleteLeftTypeByLeftTypeID(int leftTypeID)
        {
            return LeftTypeService.DeleteLeftTypeByLeftTypeID(leftTypeID);
        }

        public static bool ModifyLeftType(LeftType leftType)
        {
            return LeftTypeService.ModifyLeftType(leftType);
        }

        public static IList<LeftType> GetAllLeftTypes()
        {
            return LeftTypeService.GetAllLeftTypes();
        }

        public static LeftType GetLeftTypeByLeftTypeID(int leftTypeID)
        {
            return LeftTypeService.GetLeftTypeByLeftTypeID(leftTypeID);
        }

        public static IList<LeftType> GetLeftTypesByLeftID(int Id)
        {
            return LeftTypeService.GetLeftTypesByLeftID(Id);
        }

        public static IList<LeftType> GetLeftTypesParent()
        {
            return LeftTypeService.GetLeftTypesParent();
        }

    }
}
